package com.kehutong.wxapi.request;

import org.coraframework.json.annotation.JSONField;

/**
 * 编辑企业客户标签请求对象
 * @author: liukunlong
 * @date: 2021-03-04 19:45
 */
public class CorpTagEditRequest {

    /**
     * 调用接口凭证
     */
    private String accessToken;
    /**
     * 标签或标签组的id
     */ /**
     * id : TAG_ID
     * name : NEW_TAG_NAME
     * order : 1
     * agentid : 1000014
     */

    @JSONField(name = "id")
    private String id;
    /**
     * 新的标签或标签组名称，最长为30个字符
     */
    @JSONField(name = "name")
    private String name;
    /**
     * 标签/标签组的次序值。order值大的排序靠前。有效的值范围是[0, 2^32)
     */
    @JSONField(name = "order")
    private Integer order;
    /**
     * 授权方安装的应用agentid。仅旧的第三方多应用套件需要填此参数
     */
    @JSONField(name = "agentid")
    private Integer agentid;


    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOrder() {
        return order;
    }

    public void setOrder(Integer order) {
        this.order = order;
    }

    public Integer getAgentid() {
        return agentid;
    }

    public void setAgentid(Integer agentid) {
        this.agentid = agentid;
    }
}
